package assdraw2.common;

public class PACMessage {


	private MessageType type;
	private PACAgent source;
	private int id;
	private Object content;

	public PACMessage(MessageType t){
		type = t;
	}
	
	public PACMessage(MessageType t, PACAgent source){
		type = t;
		this.source = source;
	}
	
	public PACMessage(MessageType t, PACAgent source, Object content){
		type = t;
		this.source = source;
		this.content = content;
	}
	
	public PACMessage(MessageType t, int id) {
		type = t;
		this.id = id;
	}

	public MessageType getType() {
		return type;
	}
	
	public PACAgent getSource() {
		return source;
	}

	public int getId() {
		return id;
	}

	public Object getContent() {
		return content;
	}
		
}
